/*!
 * Copyright 2019 WeBank
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

@import '../../../assets/styles/variables.scss';
.process-module {
    position: relative;
    height: 100%;
    width: 100%;
    .process-console {
        position: absolute;
        left: 0px;
        bottom: 0px;
        top: 50%;
        z-index: 3;
        width: 100%;
    }
    .el-icon-video-play,.el-icon-video-pause{
      font-size: 18px;
    }
}

.process-module-param {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 360px;
    border: 1px solid #d7dde4;
    border-top: 0;
    box-shadow: -6px 0 6px -6px rgba(0, 0, 0, .2);
    z-index: 1008;
    background: #fff;
    overflow-y: auto;
    .process-module-param-modal-header {
        height: 36px;
        line-height: 36px;
        border-bottom: 1px solid #d7dde4;
        padding-left: 10px;
        margin-bottom: 10px;
    }
    .process-module-param-modal-content {
      .el-icon-close{
        position: absolute;
        right: 5px;
        top: 5px;
        font-size: 14px;
        cursor: pointer;
        z-index: 1008;
         &:hover{
          color: $color-primary; 
        }
      }
      position: relative;
        .el-tabs__item {
          height: 36px;
          line-height: 36px;
        }
        .node-parameter-bar {
            padding: 10px 15px 10px 10px;
            .el-form-item__label {
              padding:0;
            }
            .el-form-item,.el-form-item--mini{
              margin-bottom:14px;
            }
            .el-select{
              display: block;
            }
        }
        .node-module-param-modal-header {
            padding-left: 10px;
        }
        .save-button {
            text-align: center;
            padding-bottom: 25px;
        }
    }
}

.process-module-title {
    font-size: 14px;
    color: #464c5b;
}
.import-modal{
  height:350px;
  .el-dialog__body{
    display: none;
  }
  .el-dialog__footer{
    text-align: left;
    .import-btn{
      position: absolute;
      bottom: 20px;
      right: 20px;
    }
  }
  
}

.workflow-arguments {
    .workflow-arguments-title-wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 30px;
        padding-right: 7px;
    }
    .workflow-arguments-setting,
    .time-arguments-setting {
        padding: 10px 10px 2px;
        ;
        margin: 10px;
        background: rgba(255,255,255,.7);
        border-radius: 4px;
        .time-set-title {
            padding-bottom: 5px;
        }
        .margin-right {
            margin-right: 5px;
            margin-bottom: 5px;
        }
    }
}

.workflow-resource {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 16px;
    .workflow-resource-list {
        .workflow-resource-list-ul {
            .workflow-resource-list-item {
                height: 28px;
                line-height: 28px;
                padding: 0 10px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                background: #fff;
                border-radius: 4px;
                margin: 4px 0;
                &:hover {
                    background: #f3f3f3;
                }
                .workflow-resource-list-name {
                    max-width: calc(100% - 30px);
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
            }
        }
    }
    .workflow-resource-upload {
      .el-upload{
        display: block;
        .el-upload-dragger{
          width: 100%;
          height: 110px;
          .el-icon-upload{
            margin-top: 16px;
          }
          .el-upload__text{
            font-size: 12px;
          }
        }
      }
    }
}

.we-editor.process-module-editor {
    height: 300px;
}

.repetition-name .ivu-modal-body {
    word-break: break-all;
}

.ivu-modal-confirm-body>div p {
    word-break: break-all;
}

.node-selected {
    background-color: rgba(0, 0, 0, .2) !important;
}

.ivu-select-dropdown {
    max-width: 100%;
    overflow: auto;
}

.schedulisIframe {
    width: 100%;
    height: 800px;
}